import {
    createStore
} from 'vuex'
//导入购物车模块
import moduleCart from './cart.js'
//导入收货地址模块
import moduleUser from './user.js'
//导入待售书籍模块
import modulesellBook from './sellBook.js'
//导入卖书订单模块
import modulesellOrder from './sellorder.js'

const store = createStore({
    modules: {
        CartStore: moduleCart,
        UserStore: moduleUser,
        sellBookStore: modulesellBook,
        sellOrderStore: modulesellOrder
    }
})

export default store